﻿@model RedSand.Site.Models.SupportInfo
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="dialog" title="@Html.Translate("Update")" style="width: 378px;">
    @using (Ajax.BeginForm(AdminAjaxOptions.UpdateRecord))
    {
        <div class="dialog-content">
            @Html.HiddenFor(model => model.SupportID)
            @Html.HiddenFor(model => model.Language)
            <div class="form-cell none-float">
                @Html.TranslateFor(model => model.DisplayName, "Support")
                @Html.EditorFor(model => model.DisplayName)
            </div>
            <div class="form-cell none-float">
                @Html.TranslateFor(model => model.YahooID, "Support")
                @Html.EditorFor(model => model.YahooID)
            </div>
            <div class="form-cell none-float">
                @Html.TranslateFor(model => model.SkypeID, "Support")
                @Html.EditorFor(model => model.SkypeID)
            </div>
            <div class="form-cell none-float">
                @Html.TranslateFor(model => model.Email, "Support")
                @Html.EditorFor(model => model.Email)
            </div>
            <div class="form-cell none-float">
                @Html.TranslateFor(model => model.Telephone, "Support")
                @Html.EditorFor(model => model.Telephone)
            </div>
            <div class="form-cell">
                @Html.TranslateFor(model => model.Status)
                @Html.DropDownListFor(model => model.Status, DropDownListHelper.GetStatusList(false))
            </div>
            <div class="clear">
            </div>
        </div>
        <div class="dialog-footer">
            <input type="submit" value="@Html.Translate("Save")"/>
            <input type="button" value="@Html.Translate("Cancel")" onclick="closeDialog('.dialog')" />
        </div>
    }
</div>
